<#--
* ArticleText
-->
<#macro ArticleText title="" subTitle="" shortTitle="" content="" author="" editor="" time="" style="" showSource=true>
    <div style="margin:20px; border: 1px solid #ddd; background:#FFFFFF; ${style}">
        <h3 style="margin:20px 0; font-size: 20px; text-align:center; color:#242B3B;">
            <#if title?has_content>
                ${title}
            <#else>
                未知标题
            </#if>
        </h3>
        <#if subTitle?has_content>
            <div style="margin-bottom:10px; text-align:center;font-size:18px;">
                <h6>${subTitle}</h6>
            </div>
        </#if>
        <#if shortTitle?has_content>
            <div style="margin-bottom:10px; text-align:center;">
                <h6>${shortTitle}</h6>
            </div>
        </#if>

        <div style="text-align:center;">
             <span style="font-size:12px;color: #666;">
                 <#if showSource>
                    <#if time?has_content><span class="padding-5">时间：${time?datetime}</span></#if>
                    <#if author?has_content><span class="padding-5">作者：${author}</span></#if>
                    <#if editor?has_content><span class="padding-5">编辑：${editor}</span></#if>
                 </#if>
             </span>
        </div>
        <div style="border-bottom:1px solid #ddd; margin:16px 64px;"></div>
        <div id="content" style="margin:16px 64px;font-size: 14px; line-height: 24px;">
            ${content?replace('\r\n','<br/>')}
        </div>
    </div>
</#macro>